﻿cmake_minimum_required(VERSION 3.12...3.15 FATAL_ERROR)

project(cusp)

find_package(VTKm REQUIRED QUIET)

add_executable(main main.cpp  "cusp/blas/Coo_Matrix.cpp" "cusp/blas/源1.cpp" "cusp/blas/SparseMatrix.h" "cusp/blas/SparseMatrix.cpp")

add_library(_compiler_flags INTERFACE)
target_include_directories(_compiler_flags INTERFACE
  ${CMAKE_CURRENT_SOURCE_DIR}
  )

target_link_libraries(main PUBLIC _compiler_flags )

target_link_libraries(main PUBLIC vtkm_worklet vtkm_cont)

add_subdirectory(tests)